import request from '@/utils/request';
// 获取用户详情
export function getUserDetailApi(objectId) {
  let url = process.env.VUE_APP_SYS_SERVICE + 'api/sysUser/getUserDetails';
  return request({
    url: url,
    method: 'get',
    params: { objectId }
  });
}

// 修改密码
export function changePasswordApi(postBody) {
  return request({
    url: process.env.VUE_APP_SYS_SERVICE + '/account/updPassword',
    method: 'post',
    data: postBody
  });
}
